home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / 1997.ZIP / SCNCOD22.ARC / SCANCODE.DOC < prev    next >
Text File  |  1988-01-27  |  3KB  |  70 lines

  1.  
  2.  
  3.  
  4.  
  5.                                S C A N C O D E
  6.                          A Scan Code Display Program
  7.                                  Version 2.2
  8.                               28 December 1987
  9.  
  10.  
  11.  
  12.     SCANCODE allows you to see the codes that are sent to the computer 
  13.     from the keyboard as the keys are pressed and released.  The codes 
  14.     are displayed in hexadecimal in the lower window and are converted 
  15.     by this program and displayed as ASCII in the upper window.  The 
  16.     BIOS is not used for the ASCII display, so if it is wrong, blame 
  17.     this program, not the BIOS.
  18.  
  19.     Pressing the ESC key activates a one line menu in the middle of the 
  20.     display.  You are allowed to toggle the keyboard microprocessor 
  21.     scan code translation on or off (if you have an AT or compatible), 
  22.     clear both of the display windows, toggle keystroke capture mode or 
  23.     exit to DOS.  If you don't want to do any of those things, press the 
  24.     Enter key. 
  25.  
  26.     A word of explanation is necessary about the 8042 toggle function.  
  27.     Normally, an AT keyboard sends AT scan codes to the computer.  The 
  28.     8042 keyboard microprocessor translates these scan codes into PC 
  29.     scan codes and sends them to whoever needs them (normally the BIOS, 
  30.     but in our case, the SCANCODE program).  In order to see the real 
  31.     scan codes coming from the keyboard, we must turn off the 8042 
  32.     translation.  At the same time, the ASCII display is also disabled, 
  33.     as it will not be the same as for PC scan codes.  Note that 
  34.     depression of any key with an associated LED will not result in the 
  35.     LED turning on, as the BIOS (who ultimately gets what comes from the 
  36.     keyboard) can't recognize AT scan codes.  In summary, you can verify 
  37.     the AT scan codes, but nothing else. 
  38.  
  39.     No matter what mode you leave the 8042 in when you exit the program, 
  40.     SCANCODE will set translation on.
  41.  
  42.     Capture mode is a method of capturing keystrokes for later analysis.  
  43.     When it is on, all scan codes are saved in a file called 
  44.     CAPTURE.DTA.  If the file already exists, it will be appended to, 
  45.     otherwise it will be created and then appended to.
  46.  
  47.     SCANCODE consists of four executable file; GETSCANS.COM, 
  48.     RESETINT.COM, SCANCODE.COM and SCNCODES.BAT.  ALWAYS use the 
  49.     SCNCODES batch file to run SCANCODE, as the routine GETSCANS must be 
  50.     present before the program will work, and the routine RESETINT must 
  51.     be run to remove GETSCANS. 
  52.  
  53.     DO NOT RUN THIS PROGRAM WITH ANY RAM-RESIDENT SOFTWARE such as 
  54.     SuperKey, as it will hang up the computer.  When GETSCANS is 
  55.     running, CTL-ALT-DEL will no longer reset the computer. 
  56.  
  57.     SCANCODE is a Shareware program, which is an attempt to provide good 
  58.     software at a low cost.  You are free to copy the program for all 
  59.     your friends, but if you find yourself using it on a regular basis, 
  60.     we ask that you make an $8 contribution to: 
  61.  
  62.                         Michael Burton Software
  63.                         15540 Boot Hill Rd.
  64.                         Hayden Lake, ID  83835
  65.  
  66.     You will receive the latest update of SCANCODE and will be placed on 
  67.     our mailing list.  If you have any questions about SCANCODE, call 
  68.     (208)772-9347 after 6 p.m. Pacific time.
  69.  
  70.